package com.itheima.writer;

import java.io.BufferedWriter;
import java.io.FileWriter;
import java.io.IOException;
import java.io.WriteAbortedException;

/*
缓冲字符输出流
特有方法  换行
 */
public class Demo03 {

    public static void main(String[] args) throws IOException {
        BufferedWriter writer = new BufferedWriter(new FileWriter("day13\\aaa\\bbb.txt"));
        writer.write("嘿嘿嘿,我最帅");
        //writer.write("\r\n");
        writer.flush();
        writer.newLine();
        writer.flush();
        writer.write("你放屁");
        writer.flush();

        writer.close();


    }
}
